package org.dream.ui.chart;

import org.dream.util.PropUtil;

public class DreamConfig {
	public static boolean K_LINE;// 是否显示K线
	public static boolean SHOU_LINE;// 是否显示收盘线
	public static boolean DEAL_LINE;// 是否显示大量线
	public static boolean DALIANG_LINE;// 是否显示大量线

	public static boolean TURNINGPOINT_LINE; // 是否显示转折点线

	public static boolean TURNOVER_LINE;// 是否显示成交量均线

	public static boolean PRICE_LINE;// 是否显示价格均线

	
	// 是否显示delte线
	public static boolean DELTE_LINE;

	public static final String CLASSPATH = System.getProperty("user.dir") + "/target/classes/";

	/** 从文件中读取配置 */
	static {
		K_LINE = true;
		SHOU_LINE = false;
		DEAL_LINE = false;
		DALIANG_LINE = PropUtil.getPropertyBool("daLiang");
		TURNINGPOINT_LINE = PropUtil.getPropertyBool("turningPoint");
		TURNOVER_LINE = PropUtil.getPropertyBool("turnOverLine");
		DELTE_LINE = PropUtil.getPropertyBool("delte");

	}
}
